@charset "UTF-8";

@import "common/reset";

@function n($px) {
    @return ($px/2);
}

$color: #b20000;

.web {
    height: 100%;
    font-family: "微软雅黑","microsoft yahei",arial;
    header {
        width: 100%;
        height: n(89px);
        line-height: n(89px);
        background: $color;
        position: absolute;
        left: 0;
        top:0;
        .header_left {
            color: #FFFFFF;
            font-size: n(23px);
            margin-left: n(23px);
            .iconfont {
                font-size: n(26px);
            }
        }
        .header_right {
            margin-right: n(17px);
            .search {
                width: n(38px);
                height: n(38px);
                border-radius: 50%;
                border: n(2px) solid #FFFFFF;
                text-align: center;
                display: inline-block;
                vertical-align: middle;
                line-height: n(24px);
                color: #FFFFFF;
                .iconfont {
                    font-size: n(26px);
                }
            }
        }
        .header_center {
            width: n(264px);
            height: n(39px);
            margin: 0 auto;
            img {
                width: 100%;
            }
        }
    }
    main {
        background-color:#f5f5f5;
        overflow-y: scroll;
        position: absolute;
        top: n(89px);
        bottom:n(98px);
        width: 100%;
    }
    footer {
        width: 100%;
        position:absolute;
        left: 0;
        bottom: 0;
        padding: n(11px) 0;
        border-top: n(2px) solid #bbb9ba;
        ul {
            li {
                width: 20%;
                text-align: center;
                position: relative;
                a {
                    font-size: n(18px);
                    color: #8b8b8b;
                }
                a.active {
                    color: $color;
                }
            }
            li:not(:last-child)::after {
                content: "";
                width: n(2px);
                height: n(50px);
                background: #ebebeb;
                display: inline-block;
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
            }
        }
    }
}
